[PATCH] Use private scols_cell_get_alignment() with older libsmartcols
authorMihai Moldovan <ionic@ionic.de>
Tue, 29 Sep 2020 16:30:16 +0000 (18:30 +0200)
committerLuca Boccassi <bluca@debian.org>
Fri, 24 Oct 2025 13:45:24 +0000 (14:45 +0100)
commitde6018b968f7e6355cec77f2e673376efdb5f7c9
treeddc52b2c2ac80d64d4a2179c6472a28279bb317a
parent065402ea03ae2f4184b6df48ba616a458c1eaade
[PATCH] Use private scols_cell_get_alignment() with older libsmartcols

Stretch's version of libsmartcols includes the (binary) symbol, but does not
export it via its API, probably to make the intermediate release
API-compatible.

libdnf needs it, so we'll just declare the function and hope that linking will
be able to pick it up just fine.

For newer versions, that should just turn into a comment.

Gbp-Pq: Name 0009-Use-private-scols_cell_get_alignment-with-older-libs.patch
libdnf/utils/smartcols/Cell.hpp